package edu.hit.database.pojo;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * BookType entity. @author MyEclipse Persistence Tools
 */

public class BookType implements java.io.Serializable {

	// Fields

	private BigDecimal typeId;
	private String typeName;
	private Set books = new HashSet(0);

	// Constructors

	/** default constructor */
	public BookType() {
	}

	/** minimal constructor */
	public BookType(BigDecimal typeId, String typeName) {
		this.typeId = typeId;
		this.typeName = typeName;
	}

	/** full constructor */
	public BookType(BigDecimal typeId, String typeName, Set books) {
		this.typeId = typeId;
		this.typeName = typeName;
		this.books = books;
	}

	// Property accessors

	public BigDecimal getTypeId() {
		return this.typeId;
	}

	public void setTypeId(BigDecimal typeId) {
		this.typeId = typeId;
	}

	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Set getBooks() {
		return this.books;
	}

	public void setBooks(Set books) {
		this.books = books;
	}

}